package com.farm.learn.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
/* *
 *功能：用户专业类
 *详细：
 *
 *版本：v2.1
 *作者：FarmCode代码工程
 *日期：20150707114057
 *说明：
 */
@Entity(name = "UserMajor")
@Table(name = "wlp_u_usermajor")
public class Usermajor implements java.io.Serializable {
        private static final long serialVersionUID = 1L;

        @Id
        @GenericGenerator(name = "systemUUID", strategy = "uuid")
        @GeneratedValue(generator = "systemUUID")
        @Column(name = "ID", length = 32, insertable = true, updatable = true, nullable = false)
        private String id;
        @Column(name = "USERID", length = 32, nullable = false)
        private String userid;
        @Column(name = "PSTATE", length = 1, nullable = false)
        private String pstate;
        @Column(name = "MAJORID", length = 32)
        private String majorid;
        @Column(name = "ETIME", length = 14)
        private String etime;
        @Column(name = "LTIME", length = 14)
        private String ltime;
        @Column(name = "STIME", length = 14)
        private String stime;
        @Column(name = "NNUM", length = 10, nullable = false)
        private Integer nnum;
        @Column(name = "ANUM", length = 10, nullable = false)
        private Integer anum;
        @Column(name = "SNUM", length = 10, nullable = false)
        private Integer snum;
        @Column(name = "CNUM", length = 10, nullable = false)
        private Integer cnum;
        @Column(name = "PROCESS", length = 10, nullable = false)
        private Integer process;
        @Column(name = "USETIME", length = 10, nullable = false)
        private Integer usetime;

        public String  getUserid() {
          return this.userid;
        }
        public void setUserid(String userid) {
          this.userid = userid;
        }
        public String  getPstate() {
          return this.pstate;
        }
        public void setPstate(String pstate) {
          this.pstate = pstate;
        }
        public String  getMajorid() {
          return this.majorid;
        }
        public void setMajorid(String majorid) {
          this.majorid = majorid;
        }
        public String  getEtime() {
          return this.etime;
        }
        public void setEtime(String etime) {
          this.etime = etime;
        }
        public String  getLtime() {
          return this.ltime;
        }
        public void setLtime(String ltime) {
          this.ltime = ltime;
        }
        public String  getStime() {
          return this.stime;
        }
        public void setStime(String stime) {
          this.stime = stime;
        }
        public Integer  getNnum() {
          return this.nnum;
        }
        public void setNnum(Integer nnum) {
          this.nnum = nnum;
        }
        public Integer  getAnum() {
          return this.anum;
        }
        public void setAnum(Integer anum) {
          this.anum = anum;
        }
        public Integer  getSnum() {
          return this.snum;
        }
        public void setSnum(Integer snum) {
          this.snum = snum;
        }
        public Integer  getCnum() {
          return this.cnum;
        }
        public void setCnum(Integer cnum) {
          this.cnum = cnum;
        }
        public Integer  getProcess() {
          return this.process;
        }
        public void setProcess(Integer process) {
          this.process = process;
        }
        public Integer  getUsetime() {
          return this.usetime;
        }
        public void setUsetime(Integer usetime) {
          this.usetime = usetime;
        }
        public String  getId() {
          return this.id;
        }
        public void setId(String id) {
          this.id = id;
        }
}